<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="/timefunction" prefix="tmf"%>
<jsp:include page="header.jsp"></jsp:include>
<div id="content">
		<div class="post" id="post-${curArticle.id }">
			<div class="postHeading">
							<div class="postDate">
							${tmf:getFormateTimeStr(
							'<p> %Mc </p>
							<p class=day>%D</p>
							<p> %Y</p>' 
							,curArticle.postTime) }
							</div><!-- post date ends -->
							<div class="postTitle">
								<h2><a href="${pageContext.request.contextPath}/blog/${curArticle.id}"  title="${curArticle.title
											}">${curArticle.title
											}</a></h2>
								<small>作者: admin</small>
							</div><!-- post title ends -->
						</div><!-- post heading ends -->	

			<div class="entry">
				<P class="serif">
　　				${curArticle.content}
			</P>
								
				<p class="postmetadata alt">
					<small>
						Posted on ${tmf:getFormateTimeStr('%Wc, %Mc%De,%Y  at  %T12 %Nc',curArticle.postTime) }and is filed under 
												 <a href="${pageContext.request.contextPath}/category/${curArticle.category.id}" 
												 title="查看 ${curArticle.category.name } 的全部文章">${curArticle.category.name }
												 </a> 
													You can <a href="#respond">leave a response</a>

						 <c:if test="${adminIsLogin!=null}">
									|
								<a class="post-edit-link"
								href="${pageContext.request.contextPath}/admin/blogs/${curArticle.id }/edit" title="编辑文章">编辑 </a>
								</c:if> 
					</small>
				</p>
				
				<div class="navigation">
					<div class="alignleft">&laquo; <a href="${pageContext.request.contextPath}/#">让管理员郁闷的名字··！！</a></div>
					<div class="alignright"></div>
				</div>
			</div>
		</div>

	

	
<!-- 评论区 -->
<jsp:include page="comments.jsp"></jsp:include>
	<jsp:include page="footer.jsp"></jsp:include>

